home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / virus / tbav706.zip / MAKERESC.BAT < prev    next >
DOS Batch File  |  1996-10-23  |  2KB  |  68 lines

  1. @echo off
  2. echo off
  3. if %1X==X goto help1
  4. if not exist %1\Command.Com goto help2
  5. if exist TbScan.Exe goto tbavdir
  6. cd \tbav
  7. if not exist TbScan.Exe goto help3
  8. :tbavdir
  9. echo Copying TBAV utilities to drive %1, please wait...
  10. Copy TBAV.Exe %1 >nul
  11. Copy TBAV.Lng %1 >nul
  12. if exist TBAV.KEY Copy TBAV.KEY %1 >nul
  13. Copy TbScan.Exe %1 >nul
  14. Copy TbScan.Eci %1 >nul
  15. Copy TbScan.Lng %1 >nul
  16. Copy TbScan.Sig %1 >nul
  17. Copy TbDriver.Exe %1 >nul
  18. Copy TbDriver.Lng %1 >nul
  19. Copy TbCheck.Exe %1 >nul
  20. Copy TbClean.Exe %1 >nul
  21. Copy TbUtil.Exe %1 >nul
  22. Copy TbUtil.Lng %1 >nul
  23.  
  24. TbUtil store %1\TbUtil.Dat
  25.  
  26. Echo Files=20 >%1\Config.Sys
  27. Echo Buffers=20 >>%1\Config.Sys
  28. If exist TbDriver.Exe Echo Device=TbDriver.Exe >>%1\Config.Sys
  29. If exist TbCheck.Exe Echo Device=TbCheck.Exe FullCRC >>%1\Config.Sys
  30.  
  31. Echo @echo off >%1\AutoExec.Bat
  32. Echo echo off >>%1\AutoExec.Bat
  33. Echo PATH=A:\ >>%1\AutoExec.Bat
  34. If exist TBAV.EXE Echo TBAV >>%1\AutoExec.Bat
  35. Echo Cls >>%1\AutoExec.Bat
  36. Echo Echo WARNING!!! >>%1\AutoExec.Bat
  37. Echo Echo If you suspect a virus, do NOT execute anything from the hard disk! >>%1\AutoExec.Bat
  38.  
  39. Echo The rescue diskette is almost ready!
  40. Echo TbSetup will now generate the Anti-Vir.Dat file for drive %1
  41. Pause
  42. TbSetup %1
  43.  
  44. CLS
  45. Echo The rescue diskette is now ready.
  46. Echo If you need to copy other utilities to the disk, you can do so now.
  47. Echo If you do so, do not forget to run TbSetup %1 when ready.
  48. Echo.
  49. Echo MAKE SURE THE DISK IN DRIVE %1 IS WRITE PROTECTED!
  50.  
  51. goto end
  52.  
  53. :help1
  54. Echo Please specify the drive which contains the rescue diskette!
  55. goto end
  56.  
  57. :help2
  58. Echo The disk in drive %1 should be bootable. You can make the disk
  59. Echo bootable by using the command: SYS %1
  60. goto end
  61.  
  62. :help3
  63. Echo Can not locate the TBAV utilities.
  64. Echo Please make the directory that contains the TBAV utilities the
  65. Echo current directory!
  66.  
  67. :end
  68.